#include "../include/DataObject.h"

DataObject::DataObject()
{
    //ctor
}

DataObject::~DataObject()
{
    //dtor
}


DataObject & DataObject::operator[] (int index )
{
    return i_arr[index];
}


DataObject & DataObject::operator[] (string index )
{
    return s_arr[index];
}

DataObject & DataObject::operator=(const string &s )
{
    str.assign( s );
    return *this;
}


